package jfinalUtil;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

import com.jfinal.kit.LogKit;

public class OtherUtil {
	public static final String codingToUTF8(String str) {
		String newStr = null;
		try {
			newStr = URLDecoder.decode(str, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			LogKit.debug("字符转换错误");
		}
		return newStr;
	}
}
